package test;

import org.junit.Test;

public class A {
    @Test
    public void doSome(){
        //this指当前类的实例化对象
        A a = new A();
        System.out.println(this);//test.A@5e8c92f4
        System.out.println(this.getClass());//class test.A
        System.out.println(a);//test.A@61e4705b
    }
    @Test
    public void test02(){
        //Integer pageTotal = (int) Math.ceil(pageTotalCount / pageSize);
        Integer a = 22;
        Integer b = 4;

        Integer c = (int) Math.ceil(a/b);
        System.out.println(c);//5

        Integer d = (int) Math.ceil((double)a/b);
        System.out.println(d);//6
    }
}
